Skip to content

cxx/core/message: refine documentation and bounds on payloadbuffer - #22

Merged
stephanlachnit merged 1 commit into
constellation-daq:mainfrom
barskern:refine-payload-buffer-constructor
Nov 16, 2026
Merged

stephanlachnit merged 1 commit into
constellation-daq:mainfrom
barskern:refine-payload-buffer-constructor

Conversation

@barskern

Copy link
Copy Markdown
Contributor

A really cool framework, going to do some tests on this in the near future. I was looking through the code and spotted a potential inconsistency so figured I would make a tiny PR if so was the case.

Passing an l-value does not behave as intended in the previous version, and the code seems to want to require a r-value reference. In C++ the T&& becomes a forwarding reference, so it can accept l-value references if we do not limit it to not do so.

Passing an l-value does not behave as intended in the previous version,
and the code seems to want to require a r-value reference. In C++ the
T&& becomes a forwarding reference, so it can accept l-value references
if we do not limit it to not do so.
@simonspa

Copy link
Copy Markdown
Contributor

Great, thanks a lot @barskern for the PR! Would you mind adding your name to the AUTHORS.md list?

@barskern

barskern commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Great, thanks a lot @barskern for the PR! Would you mind adding your name to the AUTHORS.md list?

Ah, its not really a change meriting an authoring mention. I provide the change as-is with not copyright claims. So if you prefer, you could reauthor it under your name.

@simonspa

simonspa commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Ah, its not really a change meriting an authoring mention. I provide the change as-is with not copyright claims.

Every bit counts :)

@stephanlachnit
stephanlachnit merged commit 1a2e4ee into constellation-daq:main Nov 16, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants